package com.ice.body.hardware.model;

import com.ice.base.model.BaseModel;
import com.ice.body.business.model.OrderDetailModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

/**
 * Created by GuoYanBin.
 * Description:NFC对象表
 * Create Time: 2021-07-21 03:15
 */
@Component
@Data
public class NfcModel{

    @ApiModelProperty(value ="自增主键id",position = 0)
    private Long id;

    @ApiModelProperty(value ="温度",position = 1)
    private Double temperature;

    @ApiModelProperty(value ="湿度",position = 2)
    private Double humidity;

    @ApiModelProperty(value ="经度",position = 3)
    private Double lon;

    @ApiModelProperty(value ="纬度",position = 4)
    private Double lat;

    @ApiModelProperty(value ="备用字段",position = 5)
    private Double spare;

    @ApiModelProperty(value ="转运箱编号",position = 6)
    private String boxNo;

    @ApiModelProperty(value ="NFC设备编号",position = 7)
    private String nfcCode;

    @ApiModelProperty(value ="电量",position = 8)
    private String electric;

    @ApiModelProperty(value ="开锁时间",position = 9)
    private Date unLockTime;

    @ApiModelProperty(value ="开闭状态 1开，2关",position = 10)
    private Integer lockStatus;

    @ApiModelProperty(value ="开锁NFC码",position = 11)
    private String nfcNo;

    @ApiModelProperty(value ="创建时间",position = 12)
    private Date createTime;


}
